﻿@{
    Layout = null;
}
<div class="panel-body" style="padding:0">
    <div class="panel panel-default">
        <div class="panel-heading"></div>
        <div class="panel-body">
            <form id="formSearch" class="form-horizontal">
                <div class="form-group">
                    <label class="control-label" for="name_search">商户名称:</label>
                    <div class="col-sm-3">
                        <input type="text" class="form-control" id="name_search" placeholder="请输入商户名称">
                    </div>
                    <div class="col-sm-3">
                        <button type="button" id="btnQueryList" class="btn btn-primary"><i class="fa fa-search"></i>查询</button>
                        <button type="button" id="btnReset" class="btn btn-primary"><i class="fa fa-remove"></i>清空</button>
                    </div>
                </div>
            </form>
            <hr />
            <div>
                <table id="capitalaccountinfo"></table>
            </div>
        </div>
    </div>
</div>

<div id="toolbar" class="btn-group">
    <button id="btnReceivables" type="button" class="btn btn-primary"><span><i class="fa fa-book"></i>收款方式</span></button>
</div>

@*查看商户收款方式*@
<div class="modal fade" id="QueryReceivables" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog" style="width:70%;">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true"> &times;</button>
                <h4 class="modal-title" id="HeadTitle_Receivables">商户收款方式</h4>
            </div>
            <div class="modal-body">
                <form id="QueryReceivablesOperation" method="get" class="form-horizontal">
                    <div class="tab-pane" id="QueryReceivablesTable" style="display:none">
                        <table class="table table-striped">
                            <thead>
                                <tr>
                                    <th>收款方式</th>
                                    <th>开户行</th>
                                    <th>开户名</th>
                                    <th>开户帐号</th>
                                    <th>第三方帐号</th>
                                    <th>默认</th>
                                    <th>创建时间</th>
                                </tr>
                            </thead>
                            <tbody></tbody>
                        </table>
                    </div>
                    <div id="QueryReceivablesTableNo">
                        <h3 style="color:red;text-align: center;"><i class="fa fa-exclamation-triangle"></i> 该商户还未设置收款方式！</h3>
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-reply"></i>关闭</button>
            </div>
        </div>
    </div>
</div>


<script src="~/Scripts/project/min/capitalaccount.min.js"></script>
<script type="text/javascript">
    $(function () {
        ml.admin.capitalaccount.init();
    })
</script>
